<style>
	.cuidan-btn{
		position: fixed;
		bottom: 60px;
		left: 0px;
		width: 60px;
		height: 60px;
		line-height: 60px;
		text-align: center;
		cursor: pointer;
		background-color: #F05A56;
		color: #fff;
		z-index: 99999;
	}
	.cuidan-box{
		position: fixed;
		top: 0px;
		bottom: 0px;
		left: 0px;
		right: 0px;
		z-index: 9999;
		background-color: #fff;
		padding: 5px;
		display: none;
	}
	.cuidan-box .item{
		display: block;
		padding: 0px 5px;
		line-height: 30px;
		border-bottom: 1px solid #eee;
	}
</style>
{if $data}
<div class="cuidan-btn">
	催单了
</div>
{/if}
<div class="cuidan-box">
{foreach item=c from=$data}
<a class="item" href="/index.php?m=reminder&a=go&id={$c.id}">{$c.dateline|date:Y-m-d H:i:s}</a>
{/foreach}
</div>
<script>
	$(document).on("click",".cuidan-btn",function(){
		$(".cuidan-box").toggle();
	})
</script>